package com.lg.atp.service;

import java.util.List;
import java.util.Map;

import com.github.pagehelper.PageInfo;
import com.lg.atp.entity.TblCaseInfo;
import com.lg.atp.entity.TblCaseStep;

public interface ICaseService {
	
	PageInfo<TblCaseInfo> selectAllCase(Map<String,Object>map);
	
	Long saveCase(TblCaseInfo caseInfo);
	
	void updateCase(TblCaseInfo caseInfo);
	
	TblCaseInfo getCaseById(Long id);
	
	String generateNumber();
	
	PageInfo<TblCaseInfo> selectCaseByPara(Map<String,Object> map);
	
	List<TblCaseStep> getStepByCaseId(Long caseId);
	
}
